package com.dobbinsoft.iotechn.apigw.ws.handler;

import javax.websocket.Session;

/**
 * Description:
 * User: rize
 * Date: 2020/6/28
 * Time: 15:16
 */
public interface WebsocketHandler<T> {

    public int handle(Object websocket, T t);

    public int getCode();

    public Class<T> getMessageType();

}
